﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using Core.Module.Interfaces.Model;

namespace Core.Module.StaticContent.umbraco.ism.modules
{
    public class EditSiteModules:UserControl
    {
        public ISite ForSite { get; set; }
        protected Repeater repSiteModules;

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            if (ForSite == null) return;
            repSiteModules.DataSource = ForSite.Modules;
            repSiteModules.DataBind();
        }


        public bool UserCouldEditModules { get; set; }
        public bool VisibledRecycling { get; set; }
    }
}
